package com.yehangtech.designpattern.创建型_建造者;

import com.yehangtech.designpattern.创建型_建造者.entity.IMatter;
import com.yehangtech.designpattern.创建型_建造者.menu.Builder;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        Builder builder = new Builder();
        List<IMatter> matterList = builder.getIList();
        System.out.println(matterList.size());
        System.out.println(builder.getIPriceTotal());

    }
}
